
extends tpl/basic.pug

append vars
  - var title ="首页"
append style 
  link(rel="stylesheet", href="lib/swiper.min.css")
block page
  .header-fixed
    .icon
      img(src="image/index-more.png", alt="ico")
    .title 购值爽
    .search
      img(src="image/search.png", alt="search")
    -
      var arr=[
        {title:'BEAU LOVES',info:'黑色心印印花短袖连衣裙黑色心印印花短袖连衣裙'},
        {title:'BEAU LOVES',info:'黑色心印印花短袖连衣裙'},
        {title:'BEAU LOVES',info:'黑色心印印花短袖连衣裙'},
        {title:'BEAU LOVES',info:'黑色心印印花短袖连衣裙'},
        {title:'BEAU LOVES',info:'黑色心印印花短袖连衣裙'}]
  .main
    .recom-hot
      .title 本周推荐
      .tit 每天都要超值购，品质生活现在开始！
    .recon-swiper
      .swiper-container
        .swiper-wrapper
          .swiper-slide 
            img(src="image/rem-hot.png", alt="")
          .swiper-slide 
            img(src="image/rem-hot.png", alt="")
          .swiper-slide 
            img(src="image/rem-hot.png", alt="")
    .order-type
      .li
        img(src="image/album-icon.png", alt="")
        p 专辑
      .li
        img(src="image/group-icon.png", alt="")
        p 拼团
      .li
        img(src="image/cou-icon.png", alt="")
        p 最值
      .li
        img(src="image/vip-index.png", alt="")
        p vip
    .list.clearfix
      each val in arr
        .li
          .img
            img(src="")
          .info
            .en-tit=val.title
            .til=val.info
            .price $151
            .cart-ico
              img(src="image/cart.png")
    .search-over
      .search-key
        .t 最近搜索：
        ul
          li 新生儿礼盒
      .search-key.hot-key
        .t 热门词汇：
        ul
          li 新生儿礼盒
    .type-over
      -var typelist=['新品','上衣','新品','上衣','新品','上衣','新品','上衣','新品','上衣','新品','上衣','新品','上衣','新品','上衣','新品','上衣']
        each val in typelist
          ul
            li=val
append script
  script(src="lib/swiper.min.js")
  script(src="script/init.js")